from work_caps import *

#id定位
# 输入用户名，密码，点击登录
driver.find_element(By.ID,'com.baidu.homework:id/passport_phone_number_input_edit').send_keys('18625950557')
driver.find_element(By.ID,'com.baidu.homework:id/passport_password_input_view').send_keys('wjc218203')
driver.find_element(By.ID,'com.baidu.homework:id/tv_phone_enter').click()
sleep(3)
driver.quit()